package com.jinyuanchun.learnjava;

public class G1 {
    public static void main(String[] args) {
        ObjectTool tool = new ObjectTool();

        tool.show("hello world");
    }
}

class ObjectTool<T>{
    private T obj;

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public <T> void show(T t){
        System.out.println(t);
    }
}